package com.wochao.common.constant;

public class RedisConstant {
    //后台管理
    public static final String ADMIN_LOGIN_PREFIX = "admin:login:";//前缀
    public static final Integer ADMIN_LOGIN_CAPTCHA_TTL_SEC = 60;//图形验证码过期时间

    //移动端
    public static final String APP_LOGIN_PREFIX = "app:login:";//前缀
    public static final Integer APP_LOGIN_CODE_RESEND_TIME_SEC = 60;//短信验证码发送间隔
    public static final Integer APP_LOGIN_CODE_TTL_SEC = 60 * 10;//短信验证码过期时间
    public static final String APP_ROOM_PREFIX = "app:room:";//房间信息前缀
}
